<?php


namespace app\api\common\entity;

class EncryptionConfig
{
	private $param_name_transfer_encryption = false;
	private $param_value_transfer_encryption = false;
	private $api_transfer_signature_time_limit = false;
	private $api_transfer_signature_time_limit_maximum = 300;
	private $api_transfer_signature_time_limit_minimum = 300;
	private $api_response_encryption = false;
	private $api_transfer_signature_type = 0;
	private $api_response_signature_type = 0;
	private $api_response_signature_param_string_calculation_rule = 0;
	private $api_data_transfer_encryption_type = 0;
	private $api_data_transfer_encryption_encoded_type = 0;
	private $config_aes_key = "";
	private $config_aes_iv = "";
	private $config_aes_pcks = 0;
	private $config_aes_mode = 0;
	private $config_rc4_key = "";
	private $config_base64_key = "";
	private $config_des_key = "";
	private $config_des_pcks = 0;
	private $config_des_mode = 0;
	private $config_rsa_pkcs = 0;
	private $config_rsa_service_public_key = "";
	private $config_rsa_service_private_key = "";
	private $config_rsa_client_public_key = "";
	private $config_rsa_client_private_key = "";
	private $config_custom_encrypt_function = "";
	private $config_custom_decrypt_function = "";
	private $json_unescaped_unicode = false;
	private $api_response_data_format_type = 0;
	private $api_data_transfer_verify_captcha = false;
	private $api_request_verify_blacklist = false;
	private $api_request_forwarding_open = false;
	private $api_request_forwarding_url = "";
	private $api_request_forwarding_response_data_takeover_open = false;
	public function isParamNameTransferEncryption() : bool
	{
		return $this->param_name_transfer_encryption;
	}
	public function setParamNameTransferEncryption(bool $param_name_transfer_encryption) : void
	{
		$this->param_name_transfer_encryption = $param_name_transfer_encryption;
	}
	public function isParamValueTransferEncryption() : bool
	{
		return $this->param_value_transfer_encryption;
	}
	public function setParamValueTransferEncryption(bool $param_value_transfer_encryption) : void
	{
		$this->param_value_transfer_encryption = $param_value_transfer_encryption;
	}
	public function isApiTransferSignatureTimeLimit() : bool
	{
		return $this->api_transfer_signature_time_limit;
	}
	public function setApiTransferSignatureTimeLimit(bool $api_transfer_signature_time_limit) : void
	{
		$this->api_transfer_signature_time_limit = $api_transfer_signature_time_limit;
	}
	public function getApiTransferSignatureTimeLimitMaximum() : int
	{
		return $this->api_transfer_signature_time_limit_maximum;
	}
	public function setApiTransferSignatureTimeLimitMaximum(int $api_transfer_signature_time_limit_maximum) : void
	{
		$this->api_transfer_signature_time_limit_maximum = $api_transfer_signature_time_limit_maximum;
	}
	public function getApiTransferSignatureTimeLimitMinimum() : int
	{
		return $this->api_transfer_signature_time_limit_minimum;
	}
	public function setApiTransferSignatureTimeLimitMinimum(int $api_transfer_signature_time_limit_minimum) : void
	{
		$this->api_transfer_signature_time_limit_minimum = $api_transfer_signature_time_limit_minimum;
	}
	public function isApiResponseEncryption() : bool
	{
		return $this->api_response_encryption;
	}
	public function setApiResponseEncryption(bool $api_response_encryption) : void
	{
		$this->api_response_encryption = $api_response_encryption;
	}
	public function getApiTransferSignatureType() : int
	{
		return $this->api_transfer_signature_type;
	}
	public function setApiTransferSignatureType(int $api_transfer_signature_type) : void
	{
		$this->api_transfer_signature_type = $api_transfer_signature_type;
	}
	public function getApiResponseSignatureType() : int
	{
		return $this->api_response_signature_type;
	}
	public function setApiResponseSignatureType(int $api_response_signature_type) : void
	{
		$this->api_response_signature_type = $api_response_signature_type;
	}
	public function getApiResponseSignatureParamStringCalculationRule() : int
	{
		return $this->api_response_signature_param_string_calculation_rule;
	}
	public function setApiResponseSignatureParamStringCalculationRule(int $api_response_signature_param_string_calculation_rule) : void
	{
		$this->api_response_signature_param_string_calculation_rule = $api_response_signature_param_string_calculation_rule;
	}
	public function getApiDataTransferEncryptionType() : int
	{
		return $this->api_data_transfer_encryption_type;
	}
	public function setApiDataTransferEncryptionType(int $api_data_transfer_encryption_type) : void
	{
		$this->api_data_transfer_encryption_type = $api_data_transfer_encryption_type;
	}
	public function getApiDataTransferEncryptionEncodedType() : int
	{
		return $this->api_data_transfer_encryption_encoded_type;
	}
	public function setApiDataTransferEncryptionEncodedType(int $api_data_transfer_encryption_encoded_type) : void
	{
		$this->api_data_transfer_encryption_encoded_type = $api_data_transfer_encryption_encoded_type;
	}
	public function getConfigAesKey() : string
	{
		return $this->config_aes_key;
	}
	public function setConfigAesKey(string $config_aes_key) : void
	{
		$this->config_aes_key = $config_aes_key;
	}
	public function getConfigAesIv() : string
	{
		return $this->config_aes_iv;
	}
	public function setConfigAesIv(string $config_aes_iv) : void
	{
		$this->config_aes_iv = $config_aes_iv;
	}
	public function getConfigAesPcks() : int
	{
		return $this->config_aes_pcks;
	}
	public function setConfigAesPcks(int $config_aes_pcks) : void
	{
		$this->config_aes_pcks = $config_aes_pcks;
	}
	public function getConfigAesMode() : int
	{
		return $this->config_aes_mode;
	}
	public function setConfigAesMode(int $config_aes_mode) : void
	{
		$this->config_aes_mode = $config_aes_mode;
	}
	public function getConfigRc4Key() : string
	{
		return $this->config_rc4_key;
	}
	public function setConfigRc4Key(string $config_rc4_key) : void
	{
		$this->config_rc4_key = $config_rc4_key;
	}
	public function getConfigBase64Key() : string
	{
		return $this->config_base64_key;
	}
	public function setConfigBase64Key(string $config_base64_key) : void
	{
		$this->config_base64_key = $config_base64_key;
	}
	public function getConfigDesKey() : string
	{
		return $this->config_des_key;
	}
	public function setConfigDesKey(string $config_des_key) : void
	{
		$this->config_des_key = $config_des_key;
	}
	public function getConfigDesPcks() : int
	{
		return $this->config_des_pcks;
	}
	public function setConfigDesPcks(int $config_des_pcks) : void
	{
		$this->config_des_pcks = $config_des_pcks;
	}
	public function getConfigDesMode() : int
	{
		return $this->config_des_mode;
	}
	public function setConfigDesMode(int $config_des_mode) : void
	{
		$this->config_des_mode = $config_des_mode;
	}
	public function getConfigRsaPkcs() : int
	{
		return $this->config_rsa_pkcs;
	}
	public function setConfigRsaPkcs(int $config_rsa_pkcs) : void
	{
		$this->config_rsa_pkcs = $config_rsa_pkcs;
	}
	public function getConfigRsaServicePublicKey() : string
	{
		return $this->config_rsa_service_public_key;
	}
	public function setConfigRsaServicePublicKey(string $config_rsa_service_public_key) : void
	{
		$this->config_rsa_service_public_key = $config_rsa_service_public_key;
	}
	public function getConfigRsaServicePrivateKey() : string
	{
		return $this->config_rsa_service_private_key;
	}
	public function setConfigRsaServicePrivateKey(string $config_rsa_service_private_key) : void
	{
		$this->config_rsa_service_private_key = $config_rsa_service_private_key;
	}
	public function getConfigRsaClientPublicKey() : string
	{
		return $this->config_rsa_client_public_key;
	}
	public function setConfigRsaClientPublicKey(string $config_rsa_client_public_key) : void
	{
		$this->config_rsa_client_public_key = $config_rsa_client_public_key;
	}
	public function getConfigRsaClientPrivateKey() : string
	{
		return $this->config_rsa_client_private_key;
	}
	public function setConfigRsaClientPrivateKey(string $config_rsa_client_private_key) : void
	{
		$this->config_rsa_client_private_key = $config_rsa_client_private_key;
	}
	public function getConfigCustomEncryptFunction() : string
	{
		return $this->config_custom_encrypt_function;
	}
	public function setConfigCustomEncryptFunction(string $config_custom_encrypt_function) : void
	{
		$this->config_custom_encrypt_function = $config_custom_encrypt_function;
	}
	public function getConfigCustomDecryptFunction() : string
	{
		return $this->config_custom_decrypt_function;
	}
	public function setConfigCustomDecryptFunction(string $config_custom_decrypt_function) : void
	{
		$this->config_custom_decrypt_function = $config_custom_decrypt_function;
	}
	public function isJsonUnescapedUnicode() : bool
	{
		return $this->json_unescaped_unicode;
	}
	public function setJsonUnescapedUnicode(bool $json_unescaped_unicode) : void
	{
		$this->json_unescaped_unicode = $json_unescaped_unicode;
	}
	public function getApiResponseDataFormatType() : int
	{
		return $this->api_response_data_format_type;
	}
	public function setApiResponseDataFormatType(int $api_response_data_format_type) : void
	{
		$this->api_response_data_format_type = $api_response_data_format_type;
	}
	public function isApiDataTransferVerifyCaptcha() : bool
	{
		return $this->api_data_transfer_verify_captcha;
	}
	public function setApiDataTransferVerifyCaptcha(bool $api_data_transfer_verify_captcha) : void
	{
		$this->api_data_transfer_verify_captcha = $api_data_transfer_verify_captcha;
	}
	public function isApiRequestVerifyBlacklist() : bool
	{
		return $this->api_request_verify_blacklist;
	}
	public function setApiRequestVerifyBlacklist(bool $api_request_verify_blacklist) : void
	{
		$this->api_request_verify_blacklist = $api_request_verify_blacklist;
	}
	public function isApiRequestForwardingOpen() : bool
	{
		return $this->api_request_forwarding_open;
	}
	public function setApiRequestForwardingOpen(bool $api_request_forwarding_open) : void
	{
		$this->api_request_forwarding_open = $api_request_forwarding_open;
	}
	public function getApiRequestForwardingUrl() : string
	{
		return $this->api_request_forwarding_url;
	}
	public function setApiRequestForwardingUrl(string $api_request_forwarding_url) : void
	{
		$this->api_request_forwarding_url = $api_request_forwarding_url;
	}
	public function isApiRequestForwardingResponseDataTakeoverOpen() : bool
	{
		return $this->api_request_forwarding_response_data_takeover_open;
	}
	public function setApiRequestForwardingResponseDataTakeoverOpen(bool $api_request_forwarding_response_data_takeover_open) : void
	{
		$this->api_request_forwarding_response_data_takeover_open = $api_request_forwarding_response_data_takeover_open;
	}
}